<?php


namespace app\operater\model;


use think\Model;

class Operation extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'xing_op_operation';

    //关联用户
    public function userInfo()
    {
        return $this->hasOne('user','id','u_id');
    }
}